package com.qianfeng.smartmetting.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qianfeng.smartmetting.entity.Booking;
import com.qianfeng.smartmetting.entity.dto.BookingDTO;
import com.qianfeng.smartmetting.entity.vo.MyBooking;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookingService extends IService<Booking> {
    boolean svaeBooking(BookingDTO bookingDTO);

    List<MyBooking> getMyBooking(Integer userId);

    Integer isBooking( Integer roomid,  String starttime, String endtime);
}
